package com.fzg.mapper;

import com.fzg.common.model.jobInfoManage.param.GetAllHunterInfoAndHunterPublishInfoParam;
import com.fzg.entity.UserJob;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 用户求职表 Mapper 接口
 * </p>
 *
 * @author fzg
 * @since 2021-12-13
 */
public interface UserJobMapper extends BaseMapper<UserJob> {

    /**
     * 得到全部求职者信息和求职者发布的求职信息
     */
    List<Map<String,Object>> getHunterAndJob(GetAllHunterInfoAndHunterPublishInfoParam param);

    /**
     * 到全部求职者信息和求职者发布的求职信息(总个数)
     */
    Integer getHunterAndJobTotal(GetAllHunterInfoAndHunterPublishInfoParam param);

}
